﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.Record;
using TyMES.Model;

namespace TyMES.ViewModel.Record.PersonLayOffRecordVMs
{
    public partial class PersonLayOffRecordBatchVM : BaseBatchVM<PersonLayOffRecord, PersonLayOffRecord_BatchEdit>
    {
        public PersonLayOffRecordBatchVM()
        {
            ListVM = new PersonLayOffRecordListVM();
            LinkedVM = new PersonLayOffRecord_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class PersonLayOffRecord_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._PersonLayOffRecord._PersonCode")]
        public string PersonCode { get; set; }
        [Display(Name = "_Model._PersonLayOffRecord._PersonName")]
        public string PersonName { get; set; }
        [Display(Name = "_Model._PersonLayOffRecord._Opertion")]
        public string Opertion { get; set; }
        [Display(Name = "_Model._PersonLayOffRecord._OperatonTime")]
        public string OperatonTime { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}